Package com.netscape.cmscore.dbs
Class CRLIssuingPointRecord
java.lang.Object
com.netscape.cmscore.dbs.DBRecord
com.netscape.cmscore.dbs.CRLIssuingPointRecord
- All Implemented Interfaces:
IAttrSet
,IDBObj
,Serializable
A class represents a CRL issuing point record.
- Author:
- thomask
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected byte[]
protected byte[]
protected Hashtable
<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> protected BigInteger
protected Long
protected byte[]
protected BigInteger
protected Long
protected Hashtable
<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> protected String
protected String
protected Date
protected Hashtable
<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> protected Date
protected Hashtable
<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> static final String
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs empty CRLIssuingPointRecord.CRLIssuingPointRecord
(String id, BigInteger crlNumber, Long crlSize, Date thisUpdate, Date nextUpdate) Constructs a CRLIssuingPointRecordCRLIssuingPointRecord
(String id, BigInteger crlNumber, Long crlSize, Date thisUpdate, Date nextUpdate, BigInteger deltaCRLNumber, Long deltaCRLSize, Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> revokedCerts, Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> unrevokedCerts, Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> expiredCerts) Constructs a CRLIssuingPointRecord -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deletes an attribute value from this AttrSet.Gets an attribute value.byte[]
Retrieves encoded CA certificate.byte[]
getCRL()
Retrieves encoded CRL.Hashtable
<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> Hashtable
<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> Retrieves cache information about CRL.Retrieves current CRL number out of CRL issuing point record.Retrieves CRL size measured by the number of entries.byte[]
Retrieves encoded delta CRL.Retrieves current delta CRL number out of CRL issuing point record.Retrieves delta CRL size measured by the number of entries.Returns an enumeration of the names of the attributes existing within this AttrSet.Hashtable
<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> Retrieves cache information about expired certificates.Retrieve Retrieve reference to the first unsaved data.getId()
Retrieve unique CRL identifier.Retrieves next update time.Hashtable
<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> Retrieves cache information about revoked certificates.Returns a list of serializable attribute names.Retrieves this update time.Hashtable
<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> Retrieves cache information about certificates released from hold.void
Sets an attribute value within this AttrSet.
-
Field Details
-
ATTR_ID
- See Also:
-
ATTR_CRL_NUMBER
- See Also:
-
ATTR_DELTA_NUMBER
- See Also:
-
ATTR_CRL_SIZE
- See Also:
-
ATTR_DELTA_SIZE
- See Also:
-
ATTR_THIS_UPDATE
- See Also:
-
ATTR_NEXT_UPDATE
- See Also:
-
ATTR_FIRST_UNSAVED
- See Also:
-
ATTR_CRL
- See Also:
-
ATTR_CRL_CACHE
- See Also:
-
ATTR_CA_CERT
- See Also:
-
ATTR_REVOKED_CERTS
- See Also:
-
ATTR_UNREVOKED_CERTS
- See Also:
-
ATTR_EXPIRED_CERTS
- See Also:
-
ATTR_DELTA_CRL
- See Also:
-
CLEAN_CACHE
- See Also:
-
NEW_CACHE
- See Also:
-
mId
-
mCRLNumber
-
mCRLSize
-
mThisUpdate
-
mNextUpdate
-
mDeltaCRLNumber
-
mDeltaCRLSize
-
mFirstUnsaved
-
mCRL
protected byte[] mCRL -
mCACert
protected byte[] mCACert -
mCRLCache
-
mRevokedCerts
protected Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> mRevokedCerts -
mUnrevokedCerts
protected Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> mUnrevokedCerts -
mExpiredCerts
protected Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> mExpiredCerts -
mDeltaCRL
protected byte[] mDeltaCRL -
mNames
-
-
Constructor Details
-
CRLIssuingPointRecord
public CRLIssuingPointRecord()Constructs empty CRLIssuingPointRecord. This is required in database framework. -
CRLIssuingPointRecord
public CRLIssuingPointRecord(String id, BigInteger crlNumber, Long crlSize, Date thisUpdate, Date nextUpdate) Constructs a CRLIssuingPointRecord -
CRLIssuingPointRecord
public CRLIssuingPointRecord(String id, BigInteger crlNumber, Long crlSize, Date thisUpdate, Date nextUpdate, BigInteger deltaCRLNumber, Long deltaCRLSize, Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> revokedCerts, Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> unrevokedCerts, Hashtable<BigInteger, org.mozilla.jss.netscape.security.x509.RevokedCertificate> expiredCerts) Constructs a CRLIssuingPointRecord
-
-
Method Details
-
set
Description copied from interface:IAttrSet
Sets an attribute value within this AttrSet.- Specified by:
set
in interfaceIAttrSet
- Overrides:
set
in classDBRecord
- Parameters:
name
- the name of the attributeobj
- the attribute object.- Throws:
EBaseException
- on attribute handling errors.
-
get
Description copied from interface:IAttrSet
Gets an attribute value.- Specified by:
get
in interfaceIAttrSet
- Overrides:
get
in classDBRecord
- Parameters:
name
- the name of the attribute to return.- Throws:
EBaseException
- on attribute handling errors.
-
delete
Description copied from interface:IAttrSet
Deletes an attribute value from this AttrSet.- Specified by:
delete
in interfaceIAttrSet
- Overrides:
delete
in classDBRecord
- Parameters:
name
- the name of the attribute to delete.- Throws:
EBaseException
- on attribute handling errors.
-
getElements
Description copied from interface:IAttrSet
Returns an enumeration of the names of the attributes existing within this AttrSet.- Specified by:
getElements
in interfaceIAttrSet
- Overrides:
getElements
in classDBRecord
- Returns:
- an enumeration of the attribute names.
-
getSerializableAttrNames
Description copied from interface:IDBObj
Returns a list of serializable attribute names. This method should return the attribute name even if there is no attribute value for the attribute.- Specified by:
getSerializableAttrNames
in interfaceIDBObj
- Overrides:
getSerializableAttrNames
in classDBRecord
- Returns:
- a list of serializable attribute names
-
getId
Retrieve unique CRL identifier.- Returns:
- unique CRL identifier
-
getCRLNumber
Retrieves current CRL number out of CRL issuing point record.- Returns:
- current CRL number
-
getCRLSize
Retrieves CRL size measured by the number of entries.- Returns:
- CRL size
-
getThisUpdate
Retrieves this update time.- Returns:
- time of this update
-
getNextUpdate
Retrieves next update time.- Returns:
- time of next update
-
getDeltaCRLNumber
Retrieves current delta CRL number out of CRL issuing point record.- Returns:
- current delta CRL number
-
getDeltaCRLSize
Retrieves delta CRL size measured by the number of entries.- Returns:
- delta CRL size
-
getFirstUnsaved
Retrieve Retrieve reference to the first unsaved data.- Returns:
- reference to the first unsaved data
-
getCRL
public byte[] getCRL()Retrieves encoded CRL.- Returns:
- encoded CRL
-
getDeltaCRL
public byte[] getDeltaCRL()Retrieves encoded delta CRL.- Returns:
- encoded delta CRL
-
getCACert
public byte[] getCACert()Retrieves encoded CA certificate.- Returns:
- encoded CA certificate
-
getCRLCacheNoClone
public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getCRLCacheNoClone()Retrieves cache information about CRL.- Returns:
- list of recently revoked certificates
-
getCRLCache
public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getCRLCache() -
getRevokedCerts
public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getRevokedCerts()Retrieves cache information about revoked certificates.- Returns:
- list of recently revoked certificates
-
getUnrevokedCerts
public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getUnrevokedCerts()Retrieves cache information about certificates released from hold.- Returns:
- list of certificates recently released from hold
-
getExpiredCerts
public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getExpiredCerts()Retrieves cache information about expired certificates.- Returns:
- list of recently expired certificates
-